<?php 
defined('RUN_KATANA') or die('Restricted access'); 
$commander->setPostAction('editor_form');
if(defined('AJAX_RUN'))
{ require('forms/fields-items.php'); }
else
{
?>
<input type="hidden" name="form" value="<?php echo $_GET['form']; ?>" />
<div class="tabs" style="height:100%;">
	<ul>
    	<li><a href="#form_fields" style="font-size:0.9em;"><?php echo ucfirst($txt->getWord('form_fields')); ?></a></li>
	</ul>
	<div id="form_fields"><?php require('forms/fields.php'); ?></div> 
</div> 
<?php 
}
?>